from django.conf.urls.defaults import *

args = {'template_name': 'openpolitics/browser'}

urlpatterns = patterns('openpolitics.browser.views',
    (r'^$', 'index', args),
    (r'^search$', 'search', args),
    (r'^people$', 'people', args),
    (r'^institutions$', 'institutions', args),
    (r'^structure$', 'structure', args),
    (r'^structure.png$', 'structure_graph', args),
    (r'^person/(?P<slug>[\w-]+)$', 'person', args),
    (r'^institution/(?P<slug>[\w-]+)$', 'institution', args),
)
